package com.zjsy.dao;

import com.zjsy.po.User;

public class UserDaoimpl implements UserDao{

	@Override
	public User login(String username,String password) {
		User user = new User();
		 
		user.setPassword("admin");
		user.setUsername("admin");
		if(username.equals(user.getUsername())&&password.equals(user.getPassword()))
		return user;
		else return null;
	}

}
